home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 201-225 / disk_218 / edlib / iscsym.c < prev    next >
C/C++ Source or Header  |  1992-05-06  |  443b  |  23 lines

  1. /*
  2.  * edlib v1.1 Copyright 1989 Edwin Hoogerbeets
  3.  * This code is freely redistributable as long as no charge other than
  4.  * reasonable copying fees are levied for it.
  5.  */
  6.  
  7. /*
  8.     this function returns a non-zero number if the character given
  9.     is suitable for the a character of an identifier
  10. */
  11. #include <ctype.h>
  12. #define NULL 0
  13.  
  14. int iscsym(c)
  15. register char c;
  16. {
  17.     if ( iscsymf(c) || isdigit(c) )
  18.         return(c);
  19.  
  20.     return(NULL);
  21. }
  22.  
  23.